package com.yanghang.service.impl;

import com.yanghang.dao.BrandDao;
import com.yanghang.entity.Brand;
import com.yanghang.service.BrandService;

import java.util.List;

public class BrandServiceImpl implements BrandService {
    private BrandDao bd;

    public BrandDao getBd() {
        return bd;
    }

    public void setBd(BrandDao bd) {
        this.bd = bd;
    }

    @Override
    public List<Brand> selectAllBrand() {
        return bd.selectAllBrand();
    }
}
